<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">

</head>
<?php
	 $conn;
	include '../public/conn.php';
	if (!empty($_GET['del'])){
		$id=$_GET['del'];
		//print_r($d);
		//die("");
		$sql="DELETE FROM `log` WHERE log_id=$id";
		//print_r($sql);
		mysql_query($sql);
		echo "<script>";
	             echo "alert('删除成功');";
	             echo "location.href = 'student.php';";
	             echo "</script>";	
;
		}
?>
</html>